package com.stormragetech.sylwanas.demo.spring.service;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
//@Service
public class ConsumerExample {

//    @Autowired
//    private ConnectionFactory connectionFactory;
//
//    @Autowired
//    private RabbitInfo info;
//
//    private MessageConsumer messageConsumer;
//
//    @PostConstruct
//    public void init() throws IOException, TimeoutException {
//        messageConsumer = new MessageConsumerExecutor<>(connectionFactory, info, new UserProcess());
//    }
//
//    public void consume() {
//        messageConsumer.consume();
//    }

}
